import java.rmi.*; public interface Compute extends Remote { Object runTask(Task t) throws RemoteException; }